package com.bonc.ioc.model;

import org.hibernate.validator.constraints.NotEmpty;

import java.io.Serializable;

/**
 * 测试
 *
 * @author ycy
 * @date 2020/7/11 14:44
 */
public class Demo implements Serializable {

    private String id;

    @NotEmpty(message = "parm1不能为空")
    private String parm1;

    private String parm2;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParm1() {
        return parm1;
    }

    public void setParm1(String parm1) {
        this.parm1 = parm1;
    }

    public String getParm2() {
        return parm2;
    }

    public void setParm2(String parm2) {
        this.parm2 = parm2;
    }
}
